package com.zhku.shoppingspringboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableScheduling//序列化
@ServletComponentScan//扫描@WebServlet、@WebFilter和@WebListener注解的类，并将其注册为Servlet组件
@EnableSwagger2//swagger文档
@EnableTransactionManagement//事务管理
@SpringBootApplication
public class ShoppingSpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShoppingSpringbootApplication.class, args);
    }

}
